import { defineDirective } from "@/shared/tools.mjs";

const modalDirective = /* #__PURE__ */ defineDirective(() => ({
  transclude: true,
  template: /* HTML */ html`
    <div class="modal" ng-show="modal.show">
      <div class="modal-header">
        <h3 class="modal-title">{{ modal.title }}</h3>
      </div>
      <div class="modal-body">
        <ng-transclude></ng-transclude>
      </div>
    </div>
  `,
}));
